import request from '@/utils/request'

// 举报列表
export function getReportLit(query) {
  return request({
    url: '/community/report/adminReport',
    method: 'get',
    params: query
  })
}

// 审核
export function reportPunish(data) {
  return request({
    url: '/community/report/reportPunish',
    method: 'post',
    data: data
  })
}

// 审核
export function reportList(query) {
  return request({
    url: '/community/article/list',
    method: 'get',
    params: query
  })
}
// 评论下的回复
export function getReply(query) {
  return request({
    url: '/community/comment/reply',
    method: 'get',
    params: query
  })
}
// 文章下的评论
export function getCommentReply(query) {
  return request({
    url: '/community/comment',
    method: 'get',
    params: query
  })
}